Return-Path: X-Original-To: apmail-avro-user-archive@www.apache.org Delivered-To: apmail-avro-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 41A121086D for ; Mon, 10 Feb 2014 10:17:40 +0000 (UTC) Received: (qmail 50033 invoked by uid 500); 10 Feb 2014 10:17:39 -0000 Delivered-To: apmail-avro-user-archive@avro.apache.org Received: (qmail 49500 invoked by uid 500); 10 Feb 2014 10:17:31 -0000 Mailing-List: contact user-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@avro.apache.org Delivered-To: mailing list user@avro.apache.org Received: (qmail 49486 invoked by uid 99); 10 Feb 2014 10:17:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Feb 2014 10:17:29 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mika.ristimaki@gmail.com designates 209.85.217.171 as permitted sender) Received: from [209.85.217.171] (HELO mail-lb0-f171.google.com) (209.85.217.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Feb 2014 10:17:19 +0000 Received: by mail-lb0-f171.google.com with SMTP id c11so4588008lbj.16 for ; Mon, 10 Feb 2014 02:16:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=AyuWZJUbC/xUlove41RPhmfrOqvINExz1jJMtisL/+0=; b=joK6eYi7Rx4MusL8sVG2TFhtQglRSmt1gICTMOik2CpxSk6PxBkL4FgFolfy/otsAz 0u1Qqf5TSGIlvYBklqb3NTFcqOp+D1vD4ov6DMHeSYAAoNGeX4dg+euMIMCPxbtwxZO/ Zkj7cSI5nmSh1Pym3DvLHsQ2tHZw5BoxTHCLF1wJNKNbTgYHGmXa39P2KOkg79FpAQQA NZPbh0PuQBCxP4yyKjVzmgoYkC0t2sB9AZJCVka+wDcN4oezkxj5huntuVDcrnRKx1Hp vtlJBCsLXIz74unXLPwZA5BqejnzF1ViWPnV3ZpTyOrw7/xiRG1rJrfObhUGVcXL/BA1 Z9Jg== X-Received: by 10.152.219.97 with SMTP id pn1mr21683391lac.9.1392027419449; Mon, 10 Feb 2014 02:16:59 -0800 (PST) Received: from [192.168.1.6] ([194.157.117.2]) by mx.google.com with ESMTPSA id h7sm15285794lbj.1.2014.02.10.02.16.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Feb 2014 02:16:58 -0800 (PST) From: Mika Ristimaki Content-Type: multipart/alternative; boundary="Apple-Mail=_EC96C1D8-4525-4473-9436-1B10B3CE7F8B" Message-Id: <25C4EC31-7403-4F3D-A051-4A24FC1D6CB1@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: unsigned 32bit (uint) in Avro - C# ? Date: Mon, 10 Feb 2014 12:16:54 +0200 References: To: user@avro.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1510) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_EC96C1D8-4525-4473-9436-1B10B3CE7F8B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Hi, Java doesn't have unsigned primitives, so most likely Avro doesn't = support them directly either.=20 -Mika On Feb 10, 2014, at 3:34 AM, Sid Shetye wrote: > How do I serialize an unsigned integer (uint or UInt32 in C#) in Avro? > =20 > It=92s very bizarre that unsigned aren=92t discussed at = http://avro.apache.org/docs/1.7.6/spec.html#schema_primitive > =20 > =20 --Apple-Mail=_EC96C1D8-4525-4473-9436-1B10B3CE7F8B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 Hi,

Java = doesn't have unsigned primitives, so most likely Avro doesn't support = them directly = either. 

-Mika

On = Feb 10, 2014, at 3:34 AM, Sid Shetye <sid314@outlook.com> = wrote:

How do I serialize an unsigned integer (uint or = UInt32 in C#) in Avro?
It=92s very bizarre = that unsigned aren=92t discussed at