Sha256: ce47922a969036da73a4346a89a785515b452c8e731a65cec4d2698cd6ebe933

Contents?: true

Size: 123 Bytes

Versions: 3

Compression:

Stored size: 123 Bytes

Contents

#include "uint16_pack.h"

void uint16_pack(unsigned char *y,crypto_uint16 x)
{
  *y++ = x; x >>= 8;
  *y++ = x; x >>= 8;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby_nacl-0.1.2 ext/ruby_nacl/NaCl/curvecp/uint16_pack.c
ruby_nacl-0.1.1 ext/ruby_nacl/NaCl/curvecp/uint16_pack.c
ruby_nacl-0.1.0 ext/ruby_nacl/NaCl/curvecp/uint16_pack.c