Sha256: a9758be469286ab04a9ef07d7fe381ac3893708dadee51a6cf7d1f364a6da1a9

Contents?: true

Size: 235 Bytes

Versions: 3

Compression:

Stored size: 235 Bytes

Contents

#include <stdio.h>

int main()
{
  char ch;
  int loop = 0;
  while (scanf("%c",&ch) == 1) {
    printf("0x%02x,",255 & (int) ch);
    if (++loop == 16) {
      loop = 0;
      printf("\n");
    }
  }
  printf("0x00\n");
  return 0;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby_nacl-0.1.2 ext/ruby_nacl/NaCl/cpuid/cbytes.c
ruby_nacl-0.1.1 ext/ruby_nacl/NaCl/cpuid/cbytes.c
ruby_nacl-0.1.0 ext/ruby_nacl/NaCl/cpuid/cbytes.c