Search Result

Collapse
8 results in 0.0044 seconds.
Keywords
Members
Tags
byte
  •  

  • gavini
    started a topic Save images in SQL DB via MVC2

    Save images in SQL DB via MVC2

    When I run my website it shows the following error:
    "The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or a non-white space character among the padding characters."

    My View code:
    Code:
    <%@ Page Title="register" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<blog.models.users>"
    ...
    See more | Go to post
    Last edited by Frinavale; Mar 19 '12, 01:28 PM. Reason: Fixed code tag and added more formatting.

  • Seismic
    started a topic boost dynamic_bitset block size issue
    in C

    boost dynamic_bitset block size issue

    I am designing an application in which I need to deal with many different variables in which different sequences of bits are stored. I have very strict memory requirements so I decided to use the boost::dynamic_ bitset data type which works very well in my scenario as I need to dynamically allocate/deallocate/resize the variables.

    The only problem is that I am not able to change the size of the blocks in which the dynamic_bitsets are...
    See more | Go to post

  • Maja Gajic
    started a topic C# help padding Byte with zeros

    C# help padding Byte with zeros

    Hello I am quiet new at C# programming so would appreciate any help. I am writing a program to communicate via RS232 with a machine and need to send it a packet in the form:
    Code:
    { <DLE> , <STX> , "G" , <DLE> , <ETX> , <CRC> , <CRC> }
    
    byte[] byteToSend = new byte[] { 0x10, 0x02, 0x47, 0x10, 0x03, CRC , CRC };
    My two byte CRC is 0x421F and...
    See more | Go to post

  • James Hannon
    started a topic How to get two 12 bit integers from 3 bytes

    How to get two 12 bit integers from 3 bytes

    Does anyone know how to recover two 12 bit integers from 3 bytes
    See more | Go to post

  • Converting C# Byte Pointer into VB.NET

    I'm currently coding a for fun version of a texture transfer tool from a paper i read from SIGGRAPH'01..i' ve figured out most of the coding based on the C# i found somewhere but I'm having trouble with its conversion into VB.NET.

    my line

    Code:
    Dim ptr As Pointer(As Byte) = CType(CType(bmpData.Scan0, Pointer(Of System.Void)), Pointer(Of Byte))
    returns an error that says Pointer is not defined (BC30002)....
    See more | Go to post

  • Why is the gap between an address of a file pointer, to the one after it, is only 32

    #include<stdio. h>
    char garb;
    FILE *f ,*g;

    int main(){
    f=fopen("try1.t xt","wt");
    g=fopen("try2.t xt","wt");

    printf("f is equal to %ld\n",f);
    //the result is 2009464032

    printf("g is equal to %ld\n",g);
    //the result is 2009464064

    //I...
    See more | Go to post

  • newbie1999
    started a topic byte[] to System time

    byte[] to System time

    Hi, my question is a bit like http://bytes.com/topic/net/answers/6...-date-datetime but more complex

    I have an array of byte in FILETIME structure in C/C++
    typedef struct {
    DWORD dwLowDateTime;
    DWORD dwHighDateTime;
    } FILETIME,
    *PFILETIME,
    *LPFILETIME;

    How can I transfer them to readable time format?

    e.g. 9ea85071c0fdc80 1...
    See more | Go to post

  • How much data can be stored in Application Variable

    How much data can we store in Application variable in ASP.net.
    Kindly tell me in therms of byte.

    Thanks in advance.
    Ranjan Kumar
    See more | Go to post
Working...